package com.xinhuajs.articlemg.dao;

import java.util.Map;

import com.xinhuajs.articlemg.pojo.Article;

public interface IArticleDAO {
	int getArticleCount(Map<String, Object> paramMap);
	
	void getArticlesByPage(Map<String, Object> paramMap);

	void addArticleInfo(Map<String, Object> paramMap);

	Article getArticleByFileid(String fileid);
	
  void updateArticleInfo(Article art);
	
	void deleteArticleInfo(String fileid);
	
	int getArtBrUserCount(Map<String, Object> paramMap);
	int getArtDownUserCount(Map<String, Object> paramMap);
	int getArtGreatUserCount(Map<String, Object> paramMap);
	int getArtComtUserCount(Map<String, Object> paramMap);
	
	 Article getArtBrUserByPage(Map<String, Object> paramMap);
	 
	 Article getArtDownUserByPage(Map<String, Object> paramMap);
	 
	 Article getArtGreatUserByPage(Map<String, Object> paramMap);
	 
	 Article getArtComtUserByPage(Map<String, Object> paramMap);
}
